<!---- SUI模板 on 2017/4/7 -->
<script ng-init="initCss('release-task-page/css/release-task-content.css')"></script>
<header class="bar bar-nav">
    <a class="icon icon-left pull-left button-nav" href="#/individual-center"></a>
    <div ng-click="initTask()"><span class="pull-right release ">发布</span></div>
</header>
<div class="content" ng-init="getLocation();getSavedCondition();getTaskType()">


    <div class="release-content">
        <div style="margin: 0rem auto;text-align: left;margin-top: .5rem"><input ng-model="taskInfo.taskTitle"
                                                                                 type="text" placeholder="标题" onfocus
                                                                                 style="border: none;text-align: left;margin-left: .4rem;font-size: .8rem"
                                                                                 class="release-title"></div>
        <textarea ng-model="taskInfo.taskContent" autofocus
                  placeholder="说明你的任务详情"></textarea>
    </div>
    <div class="plus-picture-bg">
        <div class="select-picture">
            <input type="file" accept="image/jpg,image/jpeg,image/png" file-model="images"
                   onchange="angular.element(this).scope().img_upload(this.files)">
            <div class="fa plus-picture fa-plus-square-o fa-4x" style="position: relative;"></div>
            <div ng-repeat="img in imgs" class="release-pictures">
                <img ng-src="{{img.imgAddress}}">
            </div>
        </div>
    </div>
    <div class="clear"></div>
    <div class="release-description">
        <div class="release-address-bg">
            <div class="list-block">
                <ul>
                    <li class=" item-content">
                        <div class="item-inner">
                            <div class="item-title">联系方式</div>
                            <div class="item-input">
                                <input ng-model="taskInfo.taskContactInfo" type="text"
                                       placeholder="留下我的联系方式"
                                       class="specia-instruction">
                            </div>
                        </div>
                    </li>
                    <li class=" item-content">
                        <div class="item-inner">
                            <div class="item-title">特别说明</div>
                            <div class="item-input">
                                <input ng-model="taskInfo.taskDetailSpecially" type="text"
                                       placeholder="写下我的特别说明"
                                       class="specia-instruction">
                            </div>
                        </div>
                    </li>
                    <li class="item-content">
                        <div class="item-inner">
                            <div class="item-title">任务金额</div>
                            <div class="item-input">
                                <input type="number" ng-model="taskInfo.taskMoney" placeholder="0.00" class="money"
                                       style="width: 20%;">
                            </div>
                            <div style="font-size: .7rem;position:relative;left: -60%">元</div>
                        </div>
                    </li>
                    <li class="item-content">
                        <div class="item-inner">
                            <div class="item-title">发布类型</div>
                            <div class="release-type" style="width: 82%">
                                <div class="item-input">
                                    <select selected="selected" ng-model="taskInfo.taskType"
                                            ng-options="x.taskTypeId as x.taskTypeName for x in taskType"></select>
                                </div>

                            </div>
                        </div>
                    </li>

                    <li class="item-content">
                        <div class="item-inner">
                            <div class="item-title">截止日期</div>
                            <div class="item-input deadline">
                                <input type="date" ng-model="taskInfo.deadline">
                            </div>
                        </div>
                    </li>

                    <li class="item-content">
                        <div class="item-inner">
                            <div class="item-title"><span class="fa home fa-map-marker"></span></div>
                            <div class="item-input">
                                <input type="text" readonly class="address" ng-model="addressDetail">
                            </div>
                        </div>
                    </li>
                    <a href="#/task-condition">
                        <li class="item-content">
                            <div class="item-inner">
                                <div class="item-title">任务条件</div>
                                <div class="item-input">
                                    <span class="icon icon-right pull-right"></span>
                                </div>
                            </div>
                        </li>
                    </a>
                </ul>
            </div>
        </div>
    </div>
</div>
<div ng-init="suiMobileInit()"></div>